package io.github.junxworks.qt.modules.stock.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import io.github.junxworks.ep.core.orm.BaseMapper;
import io.github.junxworks.qt.modules.stock.dto.StockTradeCondition;
import io.github.junxworks.qt.modules.stock.vo.SsTradeRecordVo;
import io.github.junxworks.qt.modules.stock.vo.SsTradeStatVo;

@Mapper
public interface TradeMapper extends BaseMapper {
	List<SsTradeRecordVo> queryTradeList(StockTradeCondition condition);

	SsTradeStatVo statTradeList(StockTradeCondition condition);
	
	@Select("select * from ss_trade_record where id=#{id}")
	SsTradeRecordVo selectByID(Long id);
}
